﻿using Sol_Demo.Api.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Sol_Demo.Api.Service
{
    public interface IService
    {
        Task<IEnumerable<User>> Login(User model);

        int Register(User model);

        int Validate(User model);

        IEnumerable<PT_ProblemType> Query(PT_ProblemType model);
        int insertorupdate(PT_ProblemType model);
        int delete(PT_ProblemType model);
    }
}
